<template>
    <div class="userDetail">
        <div class="navContent">
            <div class="backcontent" @click="handleBack">
                <i class="el-icon-back"></i>
                <div>返回</div>
            </div>

            <div class="title">
                统计详情
            </div>
        </div>


        <div class="userData">
            <div class="userData_left">
                <img src="@/static/image/avatar.jpg" alt="" srcset="">
                <div class="name_date">
                    <div>
                        helen
                    </div>
                    <div class="time">
                        2024-07-20 读书报告
                    </div>
                </div>
            </div>

            <div class="userData_right">
                <div class="item">用时 5 分钟</div>
                <div class="item">练习 2 题</div>
                <div class="item">读书 1 本</div>
                <div class="item">分享 0 次</div>
            </div>
        </div>

        <div class="bookData">
            <img src="@/static/image/book.png" alt="" srcset="">
            <div class="messageContent">
                <div class="title">
                    牛津英语儿童分级阅读初级
                </div>

                <div class="item_box">
                    <div class="item">
                        累计进度36%
                    </div>
                    <div  class="item">
                        累计最优正答率36%
                    </div>
                </div>
                <div class="item_box">
                    <div class="item">
                        今日5分钟
                    </div>
                    <div  class="item">
                        累计19分钟
                    </div>
                </div>
                <div class="item_box">
                    <div  class="item">
                        今日练2题
                    </div>
                </div>
            </div>
        </div>
    </div>
</template>
<script>
export default {
    data() {
        return {

        }
    },
    methods: {
        handleBack() {
            this.$router.go(-1)
        },
    }
}
</script>
<style scoped lang="scss">
.userDetail {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;

    .navContent {
        display: flex;
        align-items: center;
        font-family: Alibaba PuHuiTi, Alibaba PuHuiTi;
        font-weight: 400;
        font-size: 14px;
        color: #777777;
        line-height: 16px;

        .backcontent {
            display: flex;
            align-items: center;
            cursor: pointer;

        }

        .title {
            margin-left: 30px;
        }
    }

    .userData {
        width: 100%;
        height: 76px;
        background: #FFFFFF;
        border-radius: 4px 4px 4px 4px;
        padding: 16px;
        box-sizing: border-box;
        margin-top: 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;

        .userData_left {
            display: flex;
            align-items: center;

            img {
                width: 44px;
                height: 44px;
                border-radius: 44px;
            }

            .name_date {
                margin-left: 11px;
                font-family: PingFang SC, PingFang SC;
                font-weight: 500;
                font-size: 14px;
                color: #333333;
                line-height: 20px;

                .time {
                    font-family: PingFang SC, PingFang SC;
                    font-weight: 400;
                    font-size: 12px;
                    color: #777777;
                    line-height: 20px;
                }
            }
        }

        .userData_right {
            display: flex;
            align-items: center;
            font-family: PingFang SC, PingFang SC;
            font-weight: 400;
            font-size: 14px;
            color: #4BA840;
            line-height: 20px;

            .item {
                margin-right: 26px;
            }
        }
    }

    .bookData {
        width: 100%;
        height: 168px;
        background: #FFFFFF;
        border-radius: 4px 4px 4px 4px;
        margin-top: 16px;
        padding: 16px;
        box-sizing: border-box;
        display: flex;
        align-items: center;

        img {
            width: 100px;
            height: 136px;
            border-radius: 8px 8px 8px 8px;
        }

        .messageContent {
            margin-left: 8px;


            .title {
                font-family: PingFang SC, PingFang SC;
                font-weight: 400;
                font-size: 14px;
                color: #333333;
                line-height: 20px;
                margin-bottom: 20px;
            }

            .item_box {
                display: flex;
                font-family: PingFang SC, PingFang SC;
                font-weight: 400;
                font-size: 12px;
                color: #777777;
                line-height: 20px;
                margin-bottom: 10px;
                .item{
                    width: 120px;
                }
            }
        }
    }
}
</style>